import request from '@/utils/request'

// 提现表列表
export function withdrawLists(params?: Record<string, any>) {
    return request.get({ url: '/withdraw/list', params })
}

// 提现表详情
export function withdrawDetail(params: Record<string, any>) {
    return request.get({ url: '/withdraw/detail', params })
}

// 提现表新增
export function withdrawAdd(params: Record<string, any>) {
    return request.post({ url: '/withdraw/add', params })
}

// 提现表编辑
export function withdrawEdit(params: Record<string, any>) {
    return request.post({ url: '/withdraw/edit', params })
}

// 提现表删除
export function withdrawDelete(params: Record<string, any>) {
    return request.post({ url: '/withdraw/del', params })
}

// 修改状态
export function withdrawEditStatus(params: Record<string, any>) {
    return request.post({ url: '/withdraw/editStatus', params })
}
